package com.xunwulian.base.entity;

import java.io.Serializable;
import java.util.List;

/**
 * 菜单
 */
public class Menu implements Serializable {

    private static final long serialVersionUID = 3431602644025039459L;

    private Integer MENU_ID;
    private String MENU_NAME;
    private String MENU_URL;
    private String PARENT_ID;
    private String MENU_ORDER;
    private String MENU_ICON;
    private String MENU_TYPE;
    private String target;

    private Menu parentMenu;
    private List<Menu> subMenu;

    private boolean hasMenu = false;

    public Menu(Integer MENU_ID, String MENU_NAME,
                String MENU_URL, String PARENT_ID,
                String MENU_ORDER, String MENU_ICON,
                String MENU_TYPE, String target,
                Menu parentMenu, List<Menu> subMenu,
                boolean hasMenu) {

        this.MENU_ID = MENU_ID;
        this.MENU_NAME = MENU_NAME;
        this.MENU_URL = MENU_URL;
        this.PARENT_ID = PARENT_ID;
        this.MENU_ORDER = MENU_ORDER;
        this.MENU_ICON = MENU_ICON;
        this.MENU_TYPE = MENU_TYPE;
        this.target = target;
        this.parentMenu = parentMenu;
        this.subMenu = subMenu;
        this.hasMenu = hasMenu;
    }

    public Menu(Integer MENU_ID, String MENU_NAME, String MENU_URL, String PARENT_ID, String MENU_ORDER, String MENU_ICON, String MENU_TYPE) {
        this.MENU_ID = MENU_ID;
        this.MENU_NAME = MENU_NAME;
        this.MENU_URL = MENU_URL;
        this.PARENT_ID = PARENT_ID;
        this.MENU_ORDER = MENU_ORDER;
        this.MENU_ICON = MENU_ICON;
        this.MENU_TYPE = MENU_TYPE;
    }

    public Menu() {
    }

    public Integer getMENU_ID() {
        return MENU_ID;
    }

    public void setMENU_ID(Integer mENU_ID) {
        MENU_ID = mENU_ID;
    }

    public String getMENU_NAME() {
        return MENU_NAME;
    }

    public void setMENU_NAME(String mENU_NAME) {
        MENU_NAME = mENU_NAME;
    }

    public String getMENU_URL() {
        return MENU_URL;
    }

    public void setMENU_URL(String mENU_URL) {
        MENU_URL = mENU_URL;
    }

    public String getPARENT_ID() {
        return PARENT_ID;
    }

    public void setPARENT_ID(String pARENT_ID) {
        PARENT_ID = pARENT_ID;
    }

    public String getMENU_ORDER() {
        return MENU_ORDER;
    }

    public void setMENU_ORDER(String mENU_ORDER) {
        MENU_ORDER = mENU_ORDER;
    }

    public Menu getParentMenu() {
        return parentMenu;
    }

    public void setParentMenu(Menu parentMenu) {
        this.parentMenu = parentMenu;
    }

    public List<Menu> getSubMenu() {
        return subMenu;
    }

    public void setSubMenu(List<Menu> subMenu) {
        this.subMenu = subMenu;
    }

    public boolean isHasMenu() {
        return hasMenu;
    }

    public void setHasMenu(boolean hasMenu) {
        this.hasMenu = hasMenu;
    }

    public String getTarget() {
        return target;
    }

    public void setTarget(String target) {
        this.target = target;
    }

    public String getMENU_ICON() {
        return MENU_ICON;
    }

    public void setMENU_ICON(String mENU_ICON) {
        MENU_ICON = mENU_ICON;
    }

    public String getMENU_TYPE() {
        return MENU_TYPE;
    }

    public void setMENU_TYPE(String mENU_TYPE) {
        MENU_TYPE = mENU_TYPE;
    }
}
